<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Basic extends Model
{
    protected $guarded = [];
    public $timestamps = false;

    public function user()
    {
        return $this->belongsTo('App\User', 'uid');
    }

    public function personnel()
    {
        return $this->belongsTo('App\UserPersonnel', 'uid', 'user_id');
    }
}
